Platform Explorer / Nuxeo Platform 2021.7

Operation Document.GetParent (Get Parent)

Description

Get the parent document of the input document. The parent document will become the input for the next operation. You can use the 'type' parameter to specify which parent to select from the document ancestors
Operation id Document.GetParent
Category Document
Label Get Parent
Requires
Since

Parameters

Name Description Type Required Default value
type string no  

Signature

Inputs document, documents
Outputs document, documents

Implementation Information

Implementation Class Class: org.nuxeo.ecm.automation.core.operations.document.GetDocumentParent
Contributing Component org.nuxeo.ecm.core.automation.coreContrib

JSON Definition

{
  "id" : "Document.GetParent",
  "label" : "Get Parent",
  "category" : "Document",
  "requires" : null,
  "description" : "Get the parent document of the input document. The parent document will become the input for the next operation. You can use the 'type' parameter to specify which parent to select from the document ancestors",
  "url" : "Document.GetParent",
  "signature" : [ "document", "document", "documents", "documents" ],
  "params" : [ {
    "name" : "type",
    "description" : null,
    "type" : "string",
    "required" : false,
    "widget" : null,
    "order" : 0,
    "values" : [ ]
  } ]
}